package com.ruoyi.web.controller.tool.dataManage;


import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class SysDatabaseInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 数据库服务编码 */
    @Excel(name = "数据库服务编码")
    private String code;

    /** 数据库类型：ORACLE、SQL_SERVER、MYSQL、POSTGRESQL */
    @Excel(name = "数据库类型：ORACLE、SQL_SERVER、MYSQL、POSTGRESQL")
    private String databasetype;

    /** 数据库连接URL */
    @Excel(name = "数据库连接URL")
    private String databaseurl;

    /** 数据库连接用户名 */
    @Excel(name = "数据库连接用户名")
    private String databaseusername;

    /** 数据库连接用户密码 */
    @Excel(name = "数据库连接用户密码")
    private String databaseuserpassword;

    /** 数据库使用字符集 */
    @Excel(name = "数据库使用字符集")
    private String databasecharacterset;

    /** 数据库所属系统 */
    @Excel(name = "数据库所属系统")
    private String systemname;

    /** 是否启用：0、否；1、是 */
    @Excel(name = "是否启用：0、否；1、是")
    private String isemploy;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String remarks;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 数据创建用户 */
    @Excel(name = "数据创建用户")
    private String createUser;

    /** 数据更新用户 */
    @Excel(name = "数据更新用户")
    private String updateUser;

    /** 连接池初始化大小 */
    @Excel(name = "连接池初始化大小")
    private Long initialsize;

    /** 连接池最小连接数 */
    @Excel(name = "连接池最小连接数")
    private Long minidle;

    /** 连接池最大连接数 */
    @Excel(name = "连接池最大连接数")
    private Long maxactive;

    /** 是否在控制台中打印SQL语句：true、是；false、否 */
    @Excel(name = "是否在控制台中打印SQL语句：true、是；false、否")
    private String showsql;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setDatabasetype(String databasetype)
    {
        this.databasetype = databasetype;
    }

    public String getDatabasetype()
    {
        return databasetype;
    }
    public void setDatabaseurl(String databaseurl)
    {
        this.databaseurl = databaseurl;
    }

    public String getDatabaseurl()
    {
        return databaseurl;
    }
    public void setDatabaseusername(String databaseusername)
    {
        this.databaseusername = databaseusername;
    }

    public String getDatabaseusername()
    {
        return databaseusername;
    }
    public void setDatabaseuserpassword(String databaseuserpassword)
    {
        this.databaseuserpassword = databaseuserpassword;
    }

    public String getDatabaseuserpassword()
    {
        return databaseuserpassword;
    }
    public void setDatabasecharacterset(String databasecharacterset)
    {
        this.databasecharacterset = databasecharacterset;
    }

    public String getDatabasecharacterset()
    {
        return databasecharacterset;
    }
    public void setSystemname(String systemname)
    {
        this.systemname = systemname;
    }

    public String getSystemname()
    {
        return systemname;
    }
    public void setIsemploy(String isemploy)
    {
        this.isemploy = isemploy;
    }

    public String getIsemploy()
    {
        return isemploy;
    }
    public void setRemarks(String remarks)
    {
        this.remarks = remarks;
    }

    public String getRemarks()
    {
        return remarks;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setCreateUser(String createUser)
    {
        this.createUser = createUser;
    }

    public String getCreateUser()
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser)
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser()
    {
        return updateUser;
    }
    public void setInitialsize(Long initialsize)
    {
        this.initialsize = initialsize;
    }

    public Long getInitialsize()
    {
        return initialsize;
    }
    public void setMinidle(Long minidle)
    {
        this.minidle = minidle;
    }

    public Long getMinidle()
    {
        return minidle;
    }
    public void setMaxactive(Long maxactive)
    {
        this.maxactive = maxactive;
    }

    public Long getMaxactive()
    {
        return maxactive;
    }
    public void setShowsql(String showsql)
    {
        this.showsql = showsql;
    }

    public String getShowsql()
    {
        return showsql;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("code", getCode())
                .append("databasetype", getDatabasetype())
                .append("databaseurl", getDatabaseurl())
                .append("databaseusername", getDatabaseusername())
                .append("databaseuserpassword", getDatabaseuserpassword())
                .append("databasecharacterset", getDatabasecharacterset())
                .append("systemname", getSystemname())
                .append("isemploy", getIsemploy())
                .append("remarks", getRemarks())
                .append("sort", getSort())
                .append("createUser", getCreateUser())
                .append("createTime", getCreateTime())
                .append("updateUser", getUpdateUser())
                .append("updateTime", getUpdateTime())
                .append("initialsize", getInitialsize())
                .append("minidle", getMinidle())
                .append("maxactive", getMaxactive())
                .append("showsql", getShowsql())
                .toString();
    }
}